package cn.iocoder.yudao.module.dispatch.convert.runningstate;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.dispatch.controller.admin.runningstate.vo.*;
import cn.iocoder.yudao.module.dispatch.dal.dataobject.runningstate.RunningStateDO;

/**
 * 参数 Convert
 *
 * @author 左达成
 */
@Mapper
public interface RunningStateConvert {

    RunningStateConvert INSTANCE = Mappers.getMapper(RunningStateConvert.class);

    RunningStateDO convert(RunningStateCreateReqVO bean);

    RunningStateDO convert(RunningStateUpdateReqVO bean);

    RunningStateRespVO convert(RunningStateDO bean);

    List<RunningStateRespVO> convertList(List<RunningStateDO> list);

    PageResult<RunningStateRespVO> convertPage(PageResult<RunningStateDO> page);

    List<RunningStateExcelVO> convertList02(List<RunningStateDO> list);

}
